package controllers;

import java.util.ArrayList;
import java.util.List;

import play.mvc.Controller;
import play.mvc.Result;

public class Test1 extends Controller {
	public static Result simpleOrder() {
		Customer c = new Customer("Jan", "Sliwka");
		List<CustomerOrder> orders = new ArrayList<CustomerOrder>();
		orders.add(new CustomerOrder("Banany"));
		orders.add(new CustomerOrder("Czekolada"));
		return ok(views.html.test1.render(c, orders));
	}
}
